package com.my.chapter6;

public class practice6 {
    public static void main(String[] args) {
        Type2 t1 = new Type2();
        t1.i=3;
        System.out.println("This is the first class: " + t1.i);
        Type3 t2 = new Type3();
        t2.j=6;
        System.out.println("This is the second class: " + t2.j);
    }
}

class Type2{
    protected int i;
}

class Type3{
    protected int j;
}
